package com.xishu.to.foodpanda;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 字段国际化
 *
 * 根据需要，做default字段的处理
 *
 */
@Data
public class FoodPandaZhEn implements Serializable {
    private static final long serialVersionUID = 1601536113014527771L;

    @ApiModelProperty(value = "中文")
    private String zh_HK;

    @ApiModelProperty(value = "英文")
    private String en_HK;

    public String getZh_HK() {
        return zh_HK;
    }

    public void setZh_HK(String zh_HK) {
        this.zh_HK = zh_HK;
    }

    public String getEn_HK() {
        return en_HK;
    }

    public void setEn_HK(String en_HK) {
        this.en_HK = en_HK;
    }

    public FoodPandaZhEn() {
    }

    public FoodPandaZhEn(String zh_HK, String en_HK) {
        if (zh_HK == null) {
            zh_HK = en_HK;
        }

        if (en_HK == null) {
            en_HK = zh_HK;
        }

        this.zh_HK = zh_HK;
        this.en_HK = en_HK;
    }
}
